/**
 * Represents a video
 * 
 * A video is lend and reserve able and is age restricted
 * 
 * Special information: Genre
 */
public class Video extends LendReserveItem {
	private VideoGenre _genre;

	/**
	 * Constructor
	 * 
	 * @param title
	 *            Title of movie
	 * @param genre
	 *            Movie genre
	 * @param ageRating
	 *            age rating of this movie
	 * @param description
	 *            description
	 */
	public Video(String title, VideoGenre genre, String description) {
		super(title, description);
		_genre = genre;

	}

	/**
	 * Specific getter's
	 */

	public VideoGenre getGenre() {
		return _genre;
	}

	@Override
	public String toString() {
		StringBuilder rv = new StringBuilder();
		rv.append("Video ");
		rv.append(super.toString());
		rv.append(", ");
		rv.append(_genre);
		rv.append(")");
		return rv.toString();
	}
}
